package com.ssm.server.user.dao;

import com.ssm.server.user.model.Order;
import com.ssm.server.user.model.User;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhangyibo
 */
@Repository
public interface OrderDao {
    public void saveOrder(Order order);
    public List<Order> getOrderByUser(@Param("userId") int userId,@Param("year") String year,@Param("month") String month);
    public List<Order> getOrderByboxes(int userId);
    
   
}
